package com.marry.business.service.user;

import com.marry.contract.vo.SysUser;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * @path：com.marry.service.UserService.java
 * @className：UserService.java
 * @description：用户信息
 * @author：杨超
 * @dateTime：2020/10/29 10:39
 * @editNote：
 */
public interface UserService {

    /**
     * 通过用户名查找user
     * @param username
     * @return
     */
    Mono<SysUser> findByUsername(String username);

    Flux<SysUser> findAll();
}
